package mo.org.cm309.shoppingcart.entity;

public class Product {
	private long id; //product
	private String productname;
	private String category;
	private String brand;
	private String supplier;
	private String spec1;
	private String spec2;
	private String spec3;
	private String spec4;
	private String spec5;
	private String spec6;
	private String spec7;
	private String spec8;
	private String spec9;
	private String spec10;
	private String desc;
	private double price;
	private double discount;
	private int stock;
	private int sold;
	private byte[] image;
	private String imageEncode;
	private int quantity;
	
	/**
	 * 
	 */
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getProductname() {
		return productname;
	}
	public void setProductname(String productname) {
		this.productname = productname;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getSupplier() {
		return supplier;
	}
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}
	public String getSpec1() {
		return spec1;
	}
	public void setSpec1(String spec1) {
		this.spec1 = spec1;
	}
	public String getSpec2() {
		return spec2;
	}
	public void setSpec2(String spec2) {
		this.spec2 = spec2;
	}
	public String getSpec3() {
		return spec3;
	}
	public void setSpec3(String spec3) {
		this.spec3 = spec3;
	}
	public String getSpec4() {
		return spec4;
	}
	public void setSpec4(String spec4) {
		this.spec4 = spec4;
	}
	public String getSpec5() {
		return spec5;
	}
	public void setSpec5(String spec5) {
		this.spec5 = spec5;
	}
	public String getSpec6() {
		return spec6;
	}
	public void setSpec6(String spec6) {
		this.spec6 = spec6;
	}
	public String getSpec7() {
		return spec7;
	}
	public void setSpec7(String spec7) {
		this.spec7 = spec7;
	}
	public String getSpec8() {
		return spec8;
	}
	public void setSpec8(String spec8) {
		this.spec8 = spec8;
	}
	public String getSpec9() {
		return spec9;
	}
	public void setSpec9(String spec9) {
		this.spec9 = spec9;
	}
	public String getSpec10() {
		return spec10;
	}
	public void setSpec10(String spec10) {
		this.spec10 = spec10;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public int getSold() {
		return sold;
	}
	public void setSold(int sold) {
		this.sold = sold;
	}
	public byte[] getImage() {
		return image;
	}
	public void setImage(byte[] image) {
		this.image = image;
	}
	public String getImageEncode() {
		return imageEncode;
	}
	public void setImageEncode(String imageEncode) {
		this.imageEncode = imageEncode;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	


	
}
